﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>百商汇 - 管理平台</title>
<link href="/res/css/main.css" rel="stylesheet" type="text/css" />
<link href="/res/js/lib/layer/skin/layer.css" rel="stylesheet" type="text/css" />
<link href="/res/js/lib/layer/skin/layer.ext.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/res/js/jquery.js"></script>
<script type="text/javascript" src="/res/js/lib/layer/layer.js"></script>
</head>
<body>
<div>
   <div id="frame_hd" class="frame_hd">
      <iframe src="top.jsp" frameborder="0" name="topFrame" width="100%" height="100%" scrolling="no" id="topFrame" title="topFrame" ></iframe>
   </div>
   <div id="frame_left" class="frame_left">
   	  <img src="../../res/images/hidebutton.png" class="hidebutton"/>
      <iframe src="left.jsp?pid=1" frameborder="0" name="leftFrame" width="100%" height="100%" scrolling="no" id="leftFrame" title="leftFrame"></iframe>   
   </div>
   <div id="frame_right" class="frame_right">
     <iframe src="index.html" frameborder="0" name="rightFrame" id="rightFrame" title="rightFrame" width="100%" height="100%"></iframe>
   </div>
</div>
</body>
</html>
<!--侧滑效果-->
<script>
$(".hidebutton").click(function(){
	if($("#frame_left").position().left==0){
		$("#frame_left").animate({left:"-177px"});
		$("#frame_right").animate({left:"9px"});
		$(".hidebutton").addClass("showbutton")
	}
	else{
		$("#frame_left").animate({left:"0px"});
		$("#frame_right").animate({left:"187px"});
		$(".hidebutton").removeClass("showbutton")
	}
})
</script>


